package filter;

import java.io.*;

import javax.servlet.*;
import javax.servlet.http.*;

import util.*;

import model.*;

public class CharacterEncodingFilter implements Filter {

	public void destroy() {


	}

	public void doFilter(ServletRequest request, ServletResponse response,	FilterChain chain) throws IOException, ServletException {

		request.setCharacterEncoding("UTF-8");
		chain.doFilter(request, response);
		
	}

	public void init(FilterConfig filterConfig) throws ServletException {


	}

}
